60d57bc42dcf5bd1379a88eb5ecc38c30c5d4161,src/main/java/de/galan/verjson/core/Verjson.java,Verjson,fillVersionGaps,#,172

Before Change



	protected void fillVersionGaps() {
		VersionContainer successor = null;
		for (long sourceVersion = getHighestTargetVersion() - 1L; sourceVersion > 0L; sourceVersion--) {
			VersionContainer found = getContainers().get(sourceVersion);
			if (found == null) {
				VersionContainer container = new VersionContainer(new EmptyVersion(sourceVersion + 1L), getValueClass().getSimpleName());

After Change


	protected void fillVersionGaps() {
		VersionContainer successor = null;
		if (!getContainers().isEmpty()) {
			for (long targetVersion = getHighestTargetVersion(); targetVersion > 0L; targetVersion--) {
				VersionContainer found = getContainers().get(targetVersion);
				if (found == null) {
					VersionContainer container = new VersionContainer(new EmptyVersion(targetVersion), getValueClass().getSimpleName());